package com.sgb.kjwl.view.ui.adapter.device;

import android.content.Context;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.sgb.jicai.entity.FilterEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class ParentFilterAdapter extends BaseRecycleAdapter<FilterEntity<List<FilterEntity>>> {

    public ParentFilterAdapter(Context context, List<FilterEntity<List<FilterEntity>>> datas) {
        super(context, R.layout.item_filter_parent, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final FilterEntity<List<FilterEntity>> entity) {
        holder.setBinding(BR.viewModel, entity);
    }

}
